package com.cmit.lee.myaop.interceptor.impl;

import com.cmit.lee.myaop.interceptor.MethodBeforeInterceptor;

import java.lang.reflect.Method;

/**
 * <br/>
 *
 * @author liyuanchang
 * @version V1.0
 * @email liyuanchang@chinamobile.com
 * @date 2020-04-15 21:38
 */
public class FirstMethodBeforeInteceptor extends MethodBeforeInterceptor {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println(String.format("这是FirstMethodBeforeInteceptor#before，正在拦截%s方法", method.getName()));
    }
}
